<?php

Database::SetPatchingSystem('app','app_settings');
Database::AddPatcher('v','Version');

if (Database::BeginPatchingSystem()) {
	Database::ExecuteCreateStandardTable('app_settings','Version',Sql::Integer);
	Database::ExecuteInsert('app_settings','id',new ID(0));
}

if (Database::BeginPatch('v',1)) {
	Database::ExecuteCreateStandardTable('test'
		,'some_string',Sql::String255
		,'some_integer',Sql::Integer
		);
	Database::ApplyPatch();
}



?>